package homework;

public class CarTest2 {
    public static void main(String[] args) {
        Car2 dz=new Car2();
        dz.brand="大众";
        dz.color="黑";
        dz.price=300000;
        dz.capacity=6;
        dz.start();
        dz.run();
        dz.stop();

        Car2 at=new Car2();
        at.brand="奥拓";
        at.color="白";
        at.price=400000;
        at.capacity=7;
        at.start();
        at.run();
        at.stop();
    }
}
